package com.wanqing.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 书单图书关系
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BookBookList implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    //书单id
    private Long bookListId;

    //图书id
    private Long bookId;

    //图书名称 （冗余字段）
    private String name;

    //图书原价
    private BigDecimal price;
}
